#ifndef __MENU_H_
#define __MENU_H_

#define DEFAULT_TRIES 1

typedef struct appInit
{
    int opQuantity;
    int error;

    char op;
    char *algorithm;
    char *method;
    char *password;
    char *inName;
    char *outName;
    char *key;
    char *iv;
} appInit;

void    usage(char *prgName);
int     validateParameters(appInit *params);
void    freeParameters(appInit *params);
int     getParameters(int argc, char *argv[], appInit *params);

extern int optreset;
#endif
